#include "config.h"



u8 healthyFlag = 1; //电池正常判断
u32 timerCount = 0;//总时间计数，单位为毫秒

#ifdef DEBUG
void printf(u16 data)
{
    while((UART1->SR & 0x80) == 0);
    UART1->DR = data;
    while((UART1->SR & 0x80) == 0);
    UART1->DR = data>>8;
}
#endif
